package com.kx.springmybatis.config;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName Dao
 * @Author Sun
 * @Date 2021/5/17 21:43
 */
@Component
public class Dao {
    @Autowired
    private DruidDataSource druidDataSource;


    @Override
    public String toString() {
        return "UserDao{" +
                "druidDataSource=" + druidDataSource +
                '}';
    }
}
